
import {ConfigDataComponents} from './ConfigDataComponents'
import {ConfigDataCompIds} from "./ConfigDataComponentsIds";
import * as Ecs from "../../3rd/entitas"
export class ConfigDataEntity extends Ecs.Entity
{
    public action : ConfigDataComponents.ActionComponent
    public afterCheckCheckerList : ConfigDataComponents.AfterCheckCheckerListComponent
    public attrs : ConfigDataComponents.AttrsComponent
    public checkerData : ConfigDataComponents.CheckerDataComponent
    public checkerList : ConfigDataComponents.CheckerListComponent
    public columnEntityList : ConfigDataComponents.ColumnEntityListComponent
    public columnIndex : ConfigDataComponents.ColumnIndexComponent
    public columnValueList : ConfigDataComponents.ColumnValueListComponent
    public context : ConfigDataComponents.ContextComponent
    public csvData : ConfigDataComponents.CsvDataComponent
    public customContext : ConfigDataComponents.CustomContextComponent
    public customInc : ConfigDataComponents.CustomIncComponent
    public customRequire : ConfigDataComponents.CustomRequireComponent
    public dates : ConfigDataComponents.DatesComponent
    public event : ConfigDataComponents.EventComponent
    public eventAction : ConfigDataComponents.EventActionComponent
    public eventTarget : ConfigDataComponents.EventTargetComponent
    public eventType : ConfigDataComponents.EventTypeComponent
    public eventTypeGroupStr : ConfigDataComponents.EventTypeGroupStrComponent
    public events : ConfigDataComponents.EventsComponent
    public export : ConfigDataComponents.ExportComponent
    public fileName : ConfigDataComponents.FileNameComponent
    public fullName : ConfigDataComponents.FullNameComponent
    public generateCompName : ConfigDataComponents.GenerateCompNameComponent
    public generateType : ConfigDataComponents.GenerateTypeComponent
    public indexInitMethodNameDict : ConfigDataComponents.IndexInitMethodNameDictComponent
    public indexKeyData : ConfigDataComponents.IndexKeyDataComponent
    public maxData : ConfigDataComponents.MaxDataComponent
    public memberHeadData : ConfigDataComponents.MemberHeadDataComponent
    public memberHeadDataList : ConfigDataComponents.MemberHeadDataListComponent
    public muIndex : ConfigDataComponents.MuIndexComponent
    public nameComp : ConfigDataComponents.NameCompComponent
    public onGenerateCodeAction : ConfigDataComponents.OnGenerateCodeActionComponent
    public onGenerateHeadDataAction : ConfigDataComponents.OnGenerateHeadDataActionComponent
    public outPath : ConfigDataComponents.OutPathComponent
    public outPut : ConfigDataComponents.OutPutComponent
    public parseAttr : ConfigDataComponents.ParseAttrComponent
    public parseConfig : ConfigDataComponents.ParseConfigComponent
    public parseHeadData : ConfigDataComponents.ParseHeadDataComponent
    public parseTag : ConfigDataComponents.ParseTagComponent
    public parseTag2ValueList : ConfigDataComponents.ParseTag2ValueListComponent
    public parseType : ConfigDataComponents.ParseTypeComponent
    public parser : ConfigDataComponents.ParserComponent
    public pathType : ConfigDataComponents.PathTypeComponent
    public platform : ConfigDataComponents.PlatformComponent
    public preloadData : ConfigDataComponents.PreloadDataComponent
    public primaryKeyData : ConfigDataComponents.PrimaryKeyDataComponent
    public priority : ConfigDataComponents.PriorityComponent
    public reallySheetName : ConfigDataComponents.ReallySheetNameComponent
    public refFileList : ConfigDataComponents.RefFileListComponent
    public rootEntity : ConfigDataComponents.RootEntityComponent
    public rootParser : ConfigDataComponents.RootParserComponent
    public rowCellList : ConfigDataComponents.RowCellListComponent
    public rowDataIndex : ConfigDataComponents.RowDataIndexComponent
    public rowOriginalList : ConfigDataComponents.RowOriginalListComponent
    public rowValueList : ConfigDataComponents.RowValueListComponent
    public sheetData : ConfigDataComponents.SheetDataComponent
    public sheetName : ConfigDataComponents.SheetNameComponent
    public sheetRows : ConfigDataComponents.SheetRowsComponent
    public source : ConfigDataComponents.SourceComponent
    public suffix : ConfigDataComponents.SuffixComponent
    public tag : ConfigDataComponents.TagComponent
    public tags : ConfigDataComponents.TagsComponent
    public valueCheckerList : ConfigDataComponents.ValueCheckerListComponent
    public headInfo : ConfigDataComponents.HeadInfoComponent

    constructor(componentsEnum, totalComponents: number = 16) {
        super(componentsEnum, totalComponents);
    }

    static _ActionComponentPool = new Ecs.Bag();
    public hasAction()
    {
      return this.hasComponent(ConfigDataCompIds.Action)
    }

    public addAction (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ActionComponentPool.size() > 0 ? ConfigDataEntity._ActionComponentPool.removeLast() : new ConfigDataComponents.ActionComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceAction (value)
    {
        var preComp = this.hasAction ? this.action : null;
        var comp : any = ConfigDataEntity._ActionComponentPool.size() > 0 ? ConfigDataEntity._ActionComponentPool.removeLast() : new ConfigDataComponents.ActionComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Action, comp);
        if (preComp != null) {
            //ConfigDataEntity._ActionComponentPool.add(preComp);
        }
        return this;
    }

    public removeAction ()
    {
        var comp = this.action;
        this.removeComponent(ConfigDataCompIds.Action);
        //ConfigDataEntity._ActionComponentPool.add(comp);
        return this
    }
    static _AfterCheckCheckerListComponentPool = new Ecs.Bag();
    public hasAfterCheckCheckerList()
    {
      return this.hasComponent(ConfigDataCompIds.AfterCheckCheckerList)
    }

    public addAfterCheckCheckerList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._AfterCheckCheckerListComponentPool.size() > 0 ? ConfigDataEntity._AfterCheckCheckerListComponentPool.removeLast() : new ConfigDataComponents.AfterCheckCheckerListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceAfterCheckCheckerList (value)
    {
        var preComp = this.hasAfterCheckCheckerList ? this.afterCheckCheckerList : null;
        var comp : any = ConfigDataEntity._AfterCheckCheckerListComponentPool.size() > 0 ? ConfigDataEntity._AfterCheckCheckerListComponentPool.removeLast() : new ConfigDataComponents.AfterCheckCheckerListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.AfterCheckCheckerList, comp);
        if (preComp != null) {
            //ConfigDataEntity._AfterCheckCheckerListComponentPool.add(preComp);
        }
        return this;
    }

    public removeAfterCheckCheckerList ()
    {
        var comp = this.afterCheckCheckerList;
        this.removeComponent(ConfigDataCompIds.AfterCheckCheckerList);
        //ConfigDataEntity._AfterCheckCheckerListComponentPool.add(comp);
        return this
    }
    static _AttrsComponentPool = new Ecs.Bag();
    public hasAttrs()
    {
      return this.hasComponent(ConfigDataCompIds.Attrs)
    }

    public addAttrs (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._AttrsComponentPool.size() > 0 ? ConfigDataEntity._AttrsComponentPool.removeLast() : new ConfigDataComponents.AttrsComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceAttrs (value)
    {
        var preComp = this.hasAttrs ? this.attrs : null;
        var comp : any = ConfigDataEntity._AttrsComponentPool.size() > 0 ? ConfigDataEntity._AttrsComponentPool.removeLast() : new ConfigDataComponents.AttrsComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Attrs, comp);
        if (preComp != null) {
            //ConfigDataEntity._AttrsComponentPool.add(preComp);
        }
        return this;
    }

    public removeAttrs ()
    {
        var comp = this.attrs;
        this.removeComponent(ConfigDataCompIds.Attrs);
        //ConfigDataEntity._AttrsComponentPool.add(comp);
        return this
    }
    static _CheckerDataComponentPool = new Ecs.Bag();
    public hasCheckerData()
    {
      return this.hasComponent(ConfigDataCompIds.CheckerData)
    }

    public addCheckerData (check_str_list, index_type_list) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CheckerDataComponentPool.size() > 0 ? ConfigDataEntity._CheckerDataComponentPool.removeLast() : new ConfigDataComponents.CheckerDataComponent();
        comp.check_str_list = check_str_list, comp.index_type_list = index_type_list
        this.addComponent(comp);
        return this
    }

    public replaceCheckerData (check_str_list, index_type_list)
    {
        var preComp = this.hasCheckerData ? this.checkerData : null;
        var comp : any = ConfigDataEntity._CheckerDataComponentPool.size() > 0 ? ConfigDataEntity._CheckerDataComponentPool.removeLast() : new ConfigDataComponents.CheckerDataComponent();
        comp.check_str_list = check_str_list, comp.index_type_list = index_type_list
        this.replaceComponent(ConfigDataCompIds.CheckerData, comp);
        if (preComp != null) {
            //ConfigDataEntity._CheckerDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeCheckerData ()
    {
        var comp = this.checkerData;
        this.removeComponent(ConfigDataCompIds.CheckerData);
        //ConfigDataEntity._CheckerDataComponentPool.add(comp);
        return this
    }
    static _CheckerListComponentPool = new Ecs.Bag();
    public hasCheckerList()
    {
      return this.hasComponent(ConfigDataCompIds.CheckerList)
    }

    public addCheckerList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CheckerListComponentPool.size() > 0 ? ConfigDataEntity._CheckerListComponentPool.removeLast() : new ConfigDataComponents.CheckerListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceCheckerList (value)
    {
        var preComp = this.hasCheckerList ? this.checkerList : null;
        var comp : any = ConfigDataEntity._CheckerListComponentPool.size() > 0 ? ConfigDataEntity._CheckerListComponentPool.removeLast() : new ConfigDataComponents.CheckerListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.CheckerList, comp);
        if (preComp != null) {
            //ConfigDataEntity._CheckerListComponentPool.add(preComp);
        }
        return this;
    }

    public removeCheckerList ()
    {
        var comp = this.checkerList;
        this.removeComponent(ConfigDataCompIds.CheckerList);
        //ConfigDataEntity._CheckerListComponentPool.add(comp);
        return this
    }
    static _ColumnEntityListComponentPool = new Ecs.Bag();
    public hasColumnEntityList()
    {
      return this.hasComponent(ConfigDataCompIds.ColumnEntityList)
    }

    public addColumnEntityList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ColumnEntityListComponentPool.size() > 0 ? ConfigDataEntity._ColumnEntityListComponentPool.removeLast() : new ConfigDataComponents.ColumnEntityListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceColumnEntityList (value)
    {
        var preComp = this.hasColumnEntityList ? this.columnEntityList : null;
        var comp : any = ConfigDataEntity._ColumnEntityListComponentPool.size() > 0 ? ConfigDataEntity._ColumnEntityListComponentPool.removeLast() : new ConfigDataComponents.ColumnEntityListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ColumnEntityList, comp);
        if (preComp != null) {
            //ConfigDataEntity._ColumnEntityListComponentPool.add(preComp);
        }
        return this;
    }

    public removeColumnEntityList ()
    {
        var comp = this.columnEntityList;
        this.removeComponent(ConfigDataCompIds.ColumnEntityList);
        //ConfigDataEntity._ColumnEntityListComponentPool.add(comp);
        return this
    }
    static _ColumnIndexComponentPool = new Ecs.Bag();
    public hasColumnIndex()
    {
      return this.hasComponent(ConfigDataCompIds.ColumnIndex)
    }

    public addColumnIndex (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ColumnIndexComponentPool.size() > 0 ? ConfigDataEntity._ColumnIndexComponentPool.removeLast() : new ConfigDataComponents.ColumnIndexComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceColumnIndex (value)
    {
        var preComp = this.hasColumnIndex ? this.columnIndex : null;
        var comp : any = ConfigDataEntity._ColumnIndexComponentPool.size() > 0 ? ConfigDataEntity._ColumnIndexComponentPool.removeLast() : new ConfigDataComponents.ColumnIndexComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ColumnIndex, comp);
        if (preComp != null) {
            //ConfigDataEntity._ColumnIndexComponentPool.add(preComp);
        }
        return this;
    }

    public removeColumnIndex ()
    {
        var comp = this.columnIndex;
        this.removeComponent(ConfigDataCompIds.ColumnIndex);
        //ConfigDataEntity._ColumnIndexComponentPool.add(comp);
        return this
    }
    static _ColumnValueListComponentPool = new Ecs.Bag();
    public hasColumnValueList()
    {
      return this.hasComponent(ConfigDataCompIds.ColumnValueList)
    }

    public addColumnValueList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ColumnValueListComponentPool.size() > 0 ? ConfigDataEntity._ColumnValueListComponentPool.removeLast() : new ConfigDataComponents.ColumnValueListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceColumnValueList (value)
    {
        var preComp = this.hasColumnValueList ? this.columnValueList : null;
        var comp : any = ConfigDataEntity._ColumnValueListComponentPool.size() > 0 ? ConfigDataEntity._ColumnValueListComponentPool.removeLast() : new ConfigDataComponents.ColumnValueListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ColumnValueList, comp);
        if (preComp != null) {
            //ConfigDataEntity._ColumnValueListComponentPool.add(preComp);
        }
        return this;
    }

    public removeColumnValueList ()
    {
        var comp = this.columnValueList;
        this.removeComponent(ConfigDataCompIds.ColumnValueList);
        //ConfigDataEntity._ColumnValueListComponentPool.add(comp);
        return this
    }
    static _ContextComponentPool = new Ecs.Bag();
    public hasContext()
    {
      return this.hasComponent(ConfigDataCompIds.Context)
    }

    public addContext (data) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ContextComponentPool.size() > 0 ? ConfigDataEntity._ContextComponentPool.removeLast() : new ConfigDataComponents.ContextComponent();
        comp.data = data
        this.addComponent(comp);
        return this
    }

    public replaceContext (data)
    {
        var preComp = this.hasContext ? this.context : null;
        var comp : any = ConfigDataEntity._ContextComponentPool.size() > 0 ? ConfigDataEntity._ContextComponentPool.removeLast() : new ConfigDataComponents.ContextComponent();
        comp.data = data
        this.replaceComponent(ConfigDataCompIds.Context, comp);
        if (preComp != null) {
            //ConfigDataEntity._ContextComponentPool.add(preComp);
        }
        return this;
    }

    public removeContext ()
    {
        var comp = this.context;
        this.removeComponent(ConfigDataCompIds.Context);
        //ConfigDataEntity._ContextComponentPool.add(comp);
        return this
    }
    static _CsvDataComponentPool = new Ecs.Bag();
    public hasCsvData()
    {
      return this.hasComponent(ConfigDataCompIds.CsvData)
    }

    public addCsvData (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CsvDataComponentPool.size() > 0 ? ConfigDataEntity._CsvDataComponentPool.removeLast() : new ConfigDataComponents.CsvDataComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceCsvData (value)
    {
        var preComp = this.hasCsvData ? this.csvData : null;
        var comp : any = ConfigDataEntity._CsvDataComponentPool.size() > 0 ? ConfigDataEntity._CsvDataComponentPool.removeLast() : new ConfigDataComponents.CsvDataComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.CsvData, comp);
        if (preComp != null) {
            //ConfigDataEntity._CsvDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeCsvData ()
    {
        var comp = this.csvData;
        this.removeComponent(ConfigDataCompIds.CsvData);
        //ConfigDataEntity._CsvDataComponentPool.add(comp);
        return this
    }
    static _CustomContextComponentPool = new Ecs.Bag();
    public hasCustomContext()
    {
      return this.hasComponent(ConfigDataCompIds.CustomContext)
    }

    public addCustomContext (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CustomContextComponentPool.size() > 0 ? ConfigDataEntity._CustomContextComponentPool.removeLast() : new ConfigDataComponents.CustomContextComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceCustomContext (value)
    {
        var preComp = this.hasCustomContext ? this.customContext : null;
        var comp : any = ConfigDataEntity._CustomContextComponentPool.size() > 0 ? ConfigDataEntity._CustomContextComponentPool.removeLast() : new ConfigDataComponents.CustomContextComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.CustomContext, comp);
        if (preComp != null) {
            //ConfigDataEntity._CustomContextComponentPool.add(preComp);
        }
        return this;
    }

    public removeCustomContext ()
    {
        var comp = this.customContext;
        this.removeComponent(ConfigDataCompIds.CustomContext);
        //ConfigDataEntity._CustomContextComponentPool.add(comp);
        return this
    }
    static _CustomIncComponentPool = new Ecs.Bag();
    public hasCustomInc()
    {
      return this.hasComponent(ConfigDataCompIds.CustomInc)
    }

    public addCustomInc (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CustomIncComponentPool.size() > 0 ? ConfigDataEntity._CustomIncComponentPool.removeLast() : new ConfigDataComponents.CustomIncComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceCustomInc (value)
    {
        var preComp = this.hasCustomInc ? this.customInc : null;
        var comp : any = ConfigDataEntity._CustomIncComponentPool.size() > 0 ? ConfigDataEntity._CustomIncComponentPool.removeLast() : new ConfigDataComponents.CustomIncComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.CustomInc, comp);
        if (preComp != null) {
            //ConfigDataEntity._CustomIncComponentPool.add(preComp);
        }
        return this;
    }

    public removeCustomInc ()
    {
        var comp = this.customInc;
        this.removeComponent(ConfigDataCompIds.CustomInc);
        //ConfigDataEntity._CustomIncComponentPool.add(comp);
        return this
    }
    static _CustomRequireComponentPool = new Ecs.Bag();
    public hasCustomRequire()
    {
      return this.hasComponent(ConfigDataCompIds.CustomRequire)
    }

    public addCustomRequire (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._CustomRequireComponentPool.size() > 0 ? ConfigDataEntity._CustomRequireComponentPool.removeLast() : new ConfigDataComponents.CustomRequireComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceCustomRequire (value)
    {
        var preComp = this.hasCustomRequire ? this.customRequire : null;
        var comp : any = ConfigDataEntity._CustomRequireComponentPool.size() > 0 ? ConfigDataEntity._CustomRequireComponentPool.removeLast() : new ConfigDataComponents.CustomRequireComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.CustomRequire, comp);
        if (preComp != null) {
            //ConfigDataEntity._CustomRequireComponentPool.add(preComp);
        }
        return this;
    }

    public removeCustomRequire ()
    {
        var comp = this.customRequire;
        this.removeComponent(ConfigDataCompIds.CustomRequire);
        //ConfigDataEntity._CustomRequireComponentPool.add(comp);
        return this
    }
    static _DatesComponentPool = new Ecs.Bag();
    public hasDates()
    {
      return this.hasComponent(ConfigDataCompIds.Dates)
    }

    public addDates (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._DatesComponentPool.size() > 0 ? ConfigDataEntity._DatesComponentPool.removeLast() : new ConfigDataComponents.DatesComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceDates (value)
    {
        var preComp = this.hasDates ? this.dates : null;
        var comp : any = ConfigDataEntity._DatesComponentPool.size() > 0 ? ConfigDataEntity._DatesComponentPool.removeLast() : new ConfigDataComponents.DatesComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Dates, comp);
        if (preComp != null) {
            //ConfigDataEntity._DatesComponentPool.add(preComp);
        }
        return this;
    }

    public removeDates ()
    {
        var comp = this.dates;
        this.removeComponent(ConfigDataCompIds.Dates);
        //ConfigDataEntity._DatesComponentPool.add(comp);
        return this
    }
    static _EventComponentPool = new Ecs.Bag();
    public hasEvent()
    {
      return this.hasComponent(ConfigDataCompIds.Event)
    }

    public addEvent (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventComponentPool.size() > 0 ? ConfigDataEntity._EventComponentPool.removeLast() : new ConfigDataComponents.EventComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEvent (value)
    {
        var preComp = this.hasEvent ? this.event : null;
        var comp : any = ConfigDataEntity._EventComponentPool.size() > 0 ? ConfigDataEntity._EventComponentPool.removeLast() : new ConfigDataComponents.EventComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Event, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventComponentPool.add(preComp);
        }
        return this;
    }

    public removeEvent ()
    {
        var comp = this.event;
        this.removeComponent(ConfigDataCompIds.Event);
        //ConfigDataEntity._EventComponentPool.add(comp);
        return this
    }
    static _EventActionComponentPool = new Ecs.Bag();
    public hasEventAction()
    {
      return this.hasComponent(ConfigDataCompIds.EventAction)
    }

    public addEventAction (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventActionComponentPool.size() > 0 ? ConfigDataEntity._EventActionComponentPool.removeLast() : new ConfigDataComponents.EventActionComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEventAction (value)
    {
        var preComp = this.hasEventAction ? this.eventAction : null;
        var comp : any = ConfigDataEntity._EventActionComponentPool.size() > 0 ? ConfigDataEntity._EventActionComponentPool.removeLast() : new ConfigDataComponents.EventActionComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.EventAction, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventActionComponentPool.add(preComp);
        }
        return this;
    }

    public removeEventAction ()
    {
        var comp = this.eventAction;
        this.removeComponent(ConfigDataCompIds.EventAction);
        //ConfigDataEntity._EventActionComponentPool.add(comp);
        return this
    }
    static _EventTargetComponentPool = new Ecs.Bag();
    public hasEventTarget()
    {
      return this.hasComponent(ConfigDataCompIds.EventTarget)
    }

    public addEventTarget (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventTargetComponentPool.size() > 0 ? ConfigDataEntity._EventTargetComponentPool.removeLast() : new ConfigDataComponents.EventTargetComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEventTarget (value)
    {
        var preComp = this.hasEventTarget ? this.eventTarget : null;
        var comp : any = ConfigDataEntity._EventTargetComponentPool.size() > 0 ? ConfigDataEntity._EventTargetComponentPool.removeLast() : new ConfigDataComponents.EventTargetComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.EventTarget, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventTargetComponentPool.add(preComp);
        }
        return this;
    }

    public removeEventTarget ()
    {
        var comp = this.eventTarget;
        this.removeComponent(ConfigDataCompIds.EventTarget);
        //ConfigDataEntity._EventTargetComponentPool.add(comp);
        return this
    }
    static _EventTypeComponentPool = new Ecs.Bag();
    public hasEventType()
    {
      return this.hasComponent(ConfigDataCompIds.EventType)
    }

    public addEventType (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventTypeComponentPool.size() > 0 ? ConfigDataEntity._EventTypeComponentPool.removeLast() : new ConfigDataComponents.EventTypeComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEventType (value)
    {
        var preComp = this.hasEventType ? this.eventType : null;
        var comp : any = ConfigDataEntity._EventTypeComponentPool.size() > 0 ? ConfigDataEntity._EventTypeComponentPool.removeLast() : new ConfigDataComponents.EventTypeComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.EventType, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventTypeComponentPool.add(preComp);
        }
        return this;
    }

    public removeEventType ()
    {
        var comp = this.eventType;
        this.removeComponent(ConfigDataCompIds.EventType);
        //ConfigDataEntity._EventTypeComponentPool.add(comp);
        return this
    }
    static _EventTypeGroupStrComponentPool = new Ecs.Bag();
    public hasEventTypeGroupStr()
    {
      return this.hasComponent(ConfigDataCompIds.EventTypeGroupStr)
    }

    public addEventTypeGroupStr (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventTypeGroupStrComponentPool.size() > 0 ? ConfigDataEntity._EventTypeGroupStrComponentPool.removeLast() : new ConfigDataComponents.EventTypeGroupStrComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEventTypeGroupStr (value)
    {
        var preComp = this.hasEventTypeGroupStr ? this.eventTypeGroupStr : null;
        var comp : any = ConfigDataEntity._EventTypeGroupStrComponentPool.size() > 0 ? ConfigDataEntity._EventTypeGroupStrComponentPool.removeLast() : new ConfigDataComponents.EventTypeGroupStrComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.EventTypeGroupStr, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventTypeGroupStrComponentPool.add(preComp);
        }
        return this;
    }

    public removeEventTypeGroupStr ()
    {
        var comp = this.eventTypeGroupStr;
        this.removeComponent(ConfigDataCompIds.EventTypeGroupStr);
        //ConfigDataEntity._EventTypeGroupStrComponentPool.add(comp);
        return this
    }
    static _EventsComponentPool = new Ecs.Bag();
    public hasEvents()
    {
      return this.hasComponent(ConfigDataCompIds.Events)
    }

    public addEvents (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._EventsComponentPool.size() > 0 ? ConfigDataEntity._EventsComponentPool.removeLast() : new ConfigDataComponents.EventsComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceEvents (value)
    {
        var preComp = this.hasEvents ? this.events : null;
        var comp : any = ConfigDataEntity._EventsComponentPool.size() > 0 ? ConfigDataEntity._EventsComponentPool.removeLast() : new ConfigDataComponents.EventsComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Events, comp);
        if (preComp != null) {
            //ConfigDataEntity._EventsComponentPool.add(preComp);
        }
        return this;
    }

    public removeEvents ()
    {
        var comp = this.events;
        this.removeComponent(ConfigDataCompIds.Events);
        //ConfigDataEntity._EventsComponentPool.add(comp);
        return this
    }
    static _ExportComponentPool = new Ecs.Bag();
    public hasExport()
    {
      return this.hasComponent(ConfigDataCompIds.Export)
    }

    public addExport (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ExportComponentPool.size() > 0 ? ConfigDataEntity._ExportComponentPool.removeLast() : new ConfigDataComponents.ExportComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceExport (value)
    {
        var preComp = this.hasExport ? this.export : null;
        var comp : any = ConfigDataEntity._ExportComponentPool.size() > 0 ? ConfigDataEntity._ExportComponentPool.removeLast() : new ConfigDataComponents.ExportComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Export, comp);
        if (preComp != null) {
            //ConfigDataEntity._ExportComponentPool.add(preComp);
        }
        return this;
    }

    public removeExport ()
    {
        var comp = this.export;
        this.removeComponent(ConfigDataCompIds.Export);
        //ConfigDataEntity._ExportComponentPool.add(comp);
        return this
    }
    static _ExportEndComponentPool = new Ecs.Bag();
    public hasExportEnd() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.ExportEnd)
    }

    public setExportEnd(v) : ConfigDataEntity
    {
        if (this.hasExportEnd() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._ExportEndComponentPool.size() > 0 ? ConfigDataEntity._ExportEndComponentPool.removeLast() : new ConfigDataComponents.ExportEndComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.ExportEnd)
            }
        }
        return this
    }
    static _FileNameComponentPool = new Ecs.Bag();
    public hasFileName()
    {
      return this.hasComponent(ConfigDataCompIds.FileName)
    }

    public addFileName (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._FileNameComponentPool.size() > 0 ? ConfigDataEntity._FileNameComponentPool.removeLast() : new ConfigDataComponents.FileNameComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceFileName (value)
    {
        var preComp = this.hasFileName ? this.fileName : null;
        var comp : any = ConfigDataEntity._FileNameComponentPool.size() > 0 ? ConfigDataEntity._FileNameComponentPool.removeLast() : new ConfigDataComponents.FileNameComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.FileName, comp);
        if (preComp != null) {
            //ConfigDataEntity._FileNameComponentPool.add(preComp);
        }
        return this;
    }

    public removeFileName ()
    {
        var comp = this.fileName;
        this.removeComponent(ConfigDataCompIds.FileName);
        //ConfigDataEntity._FileNameComponentPool.add(comp);
        return this
    }
    static _FullNameComponentPool = new Ecs.Bag();
    public hasFullName()
    {
      return this.hasComponent(ConfigDataCompIds.FullName)
    }

    public addFullName (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._FullNameComponentPool.size() > 0 ? ConfigDataEntity._FullNameComponentPool.removeLast() : new ConfigDataComponents.FullNameComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceFullName (value)
    {
        var preComp = this.hasFullName ? this.fullName : null;
        var comp : any = ConfigDataEntity._FullNameComponentPool.size() > 0 ? ConfigDataEntity._FullNameComponentPool.removeLast() : new ConfigDataComponents.FullNameComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.FullName, comp);
        if (preComp != null) {
            //ConfigDataEntity._FullNameComponentPool.add(preComp);
        }
        return this;
    }

    public removeFullName ()
    {
        var comp = this.fullName;
        this.removeComponent(ConfigDataCompIds.FullName);
        //ConfigDataEntity._FullNameComponentPool.add(comp);
        return this
    }
    static _GenerateCompNameComponentPool = new Ecs.Bag();
    public hasGenerateCompName()
    {
      return this.hasComponent(ConfigDataCompIds.GenerateCompName)
    }

    public addGenerateCompName (name, Name) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._GenerateCompNameComponentPool.size() > 0 ? ConfigDataEntity._GenerateCompNameComponentPool.removeLast() : new ConfigDataComponents.GenerateCompNameComponent();
        comp.name = name, comp.Name = Name
        this.addComponent(comp);
        return this
    }

    public replaceGenerateCompName (name, Name)
    {
        var preComp = this.hasGenerateCompName ? this.generateCompName : null;
        var comp : any = ConfigDataEntity._GenerateCompNameComponentPool.size() > 0 ? ConfigDataEntity._GenerateCompNameComponentPool.removeLast() : new ConfigDataComponents.GenerateCompNameComponent();
        comp.name = name, comp.Name = Name
        this.replaceComponent(ConfigDataCompIds.GenerateCompName, comp);
        if (preComp != null) {
            //ConfigDataEntity._GenerateCompNameComponentPool.add(preComp);
        }
        return this;
    }

    public removeGenerateCompName ()
    {
        var comp = this.generateCompName;
        this.removeComponent(ConfigDataCompIds.GenerateCompName);
        //ConfigDataEntity._GenerateCompNameComponentPool.add(comp);
        return this
    }
    static _GenerateTypeComponentPool = new Ecs.Bag();
    public hasGenerateType()
    {
      return this.hasComponent(ConfigDataCompIds.GenerateType)
    }

    public addGenerateType (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._GenerateTypeComponentPool.size() > 0 ? ConfigDataEntity._GenerateTypeComponentPool.removeLast() : new ConfigDataComponents.GenerateTypeComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceGenerateType (value)
    {
        var preComp = this.hasGenerateType ? this.generateType : null;
        var comp : any = ConfigDataEntity._GenerateTypeComponentPool.size() > 0 ? ConfigDataEntity._GenerateTypeComponentPool.removeLast() : new ConfigDataComponents.GenerateTypeComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.GenerateType, comp);
        if (preComp != null) {
            //ConfigDataEntity._GenerateTypeComponentPool.add(preComp);
        }
        return this;
    }

    public removeGenerateType ()
    {
        var comp = this.generateType;
        this.removeComponent(ConfigDataCompIds.GenerateType);
        //ConfigDataEntity._GenerateTypeComponentPool.add(comp);
        return this
    }
    static _HandleTogetherComponentPool = new Ecs.Bag();
    public hasHandleTogether() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.HandleTogether)
    }

    public setHandleTogether(v) : ConfigDataEntity
    {
        if (this.hasHandleTogether() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._HandleTogetherComponentPool.size() > 0 ? ConfigDataEntity._HandleTogetherComponentPool.removeLast() : new ConfigDataComponents.HandleTogetherComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.HandleTogether)
            }
        }
        return this
    }
    static _IndexInitMethodNameDictComponentPool = new Ecs.Bag();
    public hasIndexInitMethodNameDict()
    {
      return this.hasComponent(ConfigDataCompIds.IndexInitMethodNameDict)
    }

    public addIndexInitMethodNameDict (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._IndexInitMethodNameDictComponentPool.size() > 0 ? ConfigDataEntity._IndexInitMethodNameDictComponentPool.removeLast() : new ConfigDataComponents.IndexInitMethodNameDictComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceIndexInitMethodNameDict (value)
    {
        var preComp = this.hasIndexInitMethodNameDict ? this.indexInitMethodNameDict : null;
        var comp : any = ConfigDataEntity._IndexInitMethodNameDictComponentPool.size() > 0 ? ConfigDataEntity._IndexInitMethodNameDictComponentPool.removeLast() : new ConfigDataComponents.IndexInitMethodNameDictComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.IndexInitMethodNameDict, comp);
        if (preComp != null) {
            //ConfigDataEntity._IndexInitMethodNameDictComponentPool.add(preComp);
        }
        return this;
    }

    public removeIndexInitMethodNameDict ()
    {
        var comp = this.indexInitMethodNameDict;
        this.removeComponent(ConfigDataCompIds.IndexInitMethodNameDict);
        //ConfigDataEntity._IndexInitMethodNameDictComponentPool.add(comp);
        return this
    }
    static _IndexKeyDataComponentPool = new Ecs.Bag();
    public hasIndexKeyData()
    {
      return this.hasComponent(ConfigDataCompIds.IndexKeyData)
    }

    public addIndexKeyData (keyList) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._IndexKeyDataComponentPool.size() > 0 ? ConfigDataEntity._IndexKeyDataComponentPool.removeLast() : new ConfigDataComponents.IndexKeyDataComponent();
        comp.keyList = keyList
        this.addComponent(comp);
        return this
    }

    public replaceIndexKeyData (keyList)
    {
        var preComp = this.hasIndexKeyData ? this.indexKeyData : null;
        var comp : any = ConfigDataEntity._IndexKeyDataComponentPool.size() > 0 ? ConfigDataEntity._IndexKeyDataComponentPool.removeLast() : new ConfigDataComponents.IndexKeyDataComponent();
        comp.keyList = keyList
        this.replaceComponent(ConfigDataCompIds.IndexKeyData, comp);
        if (preComp != null) {
            //ConfigDataEntity._IndexKeyDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeIndexKeyData ()
    {
        var comp = this.indexKeyData;
        this.removeComponent(ConfigDataCompIds.IndexKeyData);
        //ConfigDataEntity._IndexKeyDataComponentPool.add(comp);
        return this
    }
    static _IsParsedComponentPool = new Ecs.Bag();
    public hasIsParsed() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.IsParsed)
    }

    public setIsParsed(v) : ConfigDataEntity
    {
        if (this.hasIsParsed() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._IsParsedComponentPool.size() > 0 ? ConfigDataEntity._IsParsedComponentPool.removeLast() : new ConfigDataComponents.IsParsedComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.IsParsed)
            }
        }
        return this
    }
    static _IsSimpleComponentPool = new Ecs.Bag();
    public hasIsSimple() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.IsSimple)
    }

    public setIsSimple(v) : ConfigDataEntity
    {
        if (this.hasIsSimple() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._IsSimpleComponentPool.size() > 0 ? ConfigDataEntity._IsSimpleComponentPool.removeLast() : new ConfigDataComponents.IsSimpleComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.IsSimple)
            }
        }
        return this
    }
    static _IsSingleComponentPool = new Ecs.Bag();
    public hasIsSingle() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.IsSingle)
    }

    public setIsSingle(v) : ConfigDataEntity
    {
        if (this.hasIsSingle() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._IsSingleComponentPool.size() > 0 ? ConfigDataEntity._IsSingleComponentPool.removeLast() : new ConfigDataComponents.IsSingleComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.IsSingle)
            }
        }
        return this
    }
    static _MaxDataComponentPool = new Ecs.Bag();
    public hasMaxData()
    {
      return this.hasComponent(ConfigDataCompIds.MaxData)
    }

    public addMaxData (maxRow, maxDataRow, maxColumn) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._MaxDataComponentPool.size() > 0 ? ConfigDataEntity._MaxDataComponentPool.removeLast() : new ConfigDataComponents.MaxDataComponent();
        comp.maxRow = maxRow, comp.maxDataRow = maxDataRow, comp.maxColumn = maxColumn
        this.addComponent(comp);
        return this
    }

    public replaceMaxData (maxRow, maxDataRow, maxColumn)
    {
        var preComp = this.hasMaxData ? this.maxData : null;
        var comp : any = ConfigDataEntity._MaxDataComponentPool.size() > 0 ? ConfigDataEntity._MaxDataComponentPool.removeLast() : new ConfigDataComponents.MaxDataComponent();
        comp.maxRow = maxRow, comp.maxDataRow = maxDataRow, comp.maxColumn = maxColumn
        this.replaceComponent(ConfigDataCompIds.MaxData, comp);
        if (preComp != null) {
            //ConfigDataEntity._MaxDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeMaxData ()
    {
        var comp = this.maxData;
        this.removeComponent(ConfigDataCompIds.MaxData);
        //ConfigDataEntity._MaxDataComponentPool.add(comp);
        return this
    }
    static _MemberHeadDataComponentPool = new Ecs.Bag();
    public hasMemberHeadData()
    {
      return this.hasComponent(ConfigDataCompIds.MemberHeadData)
    }

    public addMemberHeadData (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._MemberHeadDataComponentPool.size() > 0 ? ConfigDataEntity._MemberHeadDataComponentPool.removeLast() : new ConfigDataComponents.MemberHeadDataComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceMemberHeadData (value)
    {
        var preComp = this.hasMemberHeadData ? this.memberHeadData : null;
        var comp : any = ConfigDataEntity._MemberHeadDataComponentPool.size() > 0 ? ConfigDataEntity._MemberHeadDataComponentPool.removeLast() : new ConfigDataComponents.MemberHeadDataComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.MemberHeadData, comp);
        if (preComp != null) {
            //ConfigDataEntity._MemberHeadDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeMemberHeadData ()
    {
        var comp = this.memberHeadData;
        this.removeComponent(ConfigDataCompIds.MemberHeadData);
        //ConfigDataEntity._MemberHeadDataComponentPool.add(comp);
        return this
    }
    static _MemberHeadDataListComponentPool = new Ecs.Bag();
    public hasMemberHeadDataList()
    {
      return this.hasComponent(ConfigDataCompIds.MemberHeadDataList)
    }

    public addMemberHeadDataList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._MemberHeadDataListComponentPool.size() > 0 ? ConfigDataEntity._MemberHeadDataListComponentPool.removeLast() : new ConfigDataComponents.MemberHeadDataListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceMemberHeadDataList (value)
    {
        var preComp = this.hasMemberHeadDataList ? this.memberHeadDataList : null;
        var comp : any = ConfigDataEntity._MemberHeadDataListComponentPool.size() > 0 ? ConfigDataEntity._MemberHeadDataListComponentPool.removeLast() : new ConfigDataComponents.MemberHeadDataListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.MemberHeadDataList, comp);
        if (preComp != null) {
            ////ConfigDataEntity._MemberHeadDataListComponentPool.add(preComp);
        }
        return this;
    }

    public removeMemberHeadDataList ()
    {
        var comp = this.memberHeadDataList;
        this.removeComponent(ConfigDataCompIds.MemberHeadDataList);
        ////ConfigDataEntity._MemberHeadDataListComponentPool.add(comp);
        return this
    }
    static _MuIndexComponentPool = new Ecs.Bag();
    public hasMuIndex()
    {
      return this.hasComponent(ConfigDataCompIds.MuIndex)
    }

    public addMuIndex (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._MuIndexComponentPool.size() > 0 ? ConfigDataEntity._MuIndexComponentPool.removeLast() : new ConfigDataComponents.MuIndexComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceMuIndex (value)
    {
        var preComp = this.hasMuIndex ? this.muIndex : null;
        var comp : any = ConfigDataEntity._MuIndexComponentPool.size() > 0 ? ConfigDataEntity._MuIndexComponentPool.removeLast() : new ConfigDataComponents.MuIndexComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.MuIndex, comp);
        if (preComp != null) {
            ////ConfigDataEntity._MuIndexComponentPool.add(preComp);
        }
        return this;
    }

    public removeMuIndex ()
    {
        var comp = this.muIndex;
        this.removeComponent(ConfigDataCompIds.MuIndex);
        ////ConfigDataEntity._MuIndexComponentPool.add(comp);
        return this
    }
    static _NameCompComponentPool = new Ecs.Bag();
    public hasNameComp()
    {
      return this.hasComponent(ConfigDataCompIds.NameComp)
    }

    public addNameComp (name, Name) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._NameCompComponentPool.size() > 0 ? ConfigDataEntity._NameCompComponentPool.removeLast() : new ConfigDataComponents.NameCompComponent();
        comp.name = name, comp.Name = Name
        this.addComponent(comp);
        return this
    }

    public replaceNameComp (name, Name)
    {
        var preComp = this.hasNameComp ? this.nameComp : null;
        var comp : any = ConfigDataEntity._NameCompComponentPool.size() > 0 ? ConfigDataEntity._NameCompComponentPool.removeLast() : new ConfigDataComponents.NameCompComponent();
        comp.name = name, comp.Name = Name
        this.replaceComponent(ConfigDataCompIds.NameComp, comp);
        if (preComp != null) {
            ////ConfigDataEntity._NameCompComponentPool.add(preComp);
        }
        return this;
    }

    public removeNameComp ()
    {
        var comp = this.nameComp;
        this.removeComponent(ConfigDataCompIds.NameComp);
        ////ConfigDataEntity._NameCompComponentPool.add(comp);
        return this
    }
    static _OnGenerateCodeActionComponentPool = new Ecs.Bag();
    public hasOnGenerateCodeAction()
    {
      return this.hasComponent(ConfigDataCompIds.OnGenerateCodeAction)
    }

    public addOnGenerateCodeAction (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._OnGenerateCodeActionComponentPool.size() > 0 ? ConfigDataEntity._OnGenerateCodeActionComponentPool.removeLast() : new ConfigDataComponents.OnGenerateCodeActionComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceOnGenerateCodeAction (value)
    {
        var preComp = this.hasOnGenerateCodeAction ? this.onGenerateCodeAction : null;
        var comp : any = ConfigDataEntity._OnGenerateCodeActionComponentPool.size() > 0 ? ConfigDataEntity._OnGenerateCodeActionComponentPool.removeLast() : new ConfigDataComponents.OnGenerateCodeActionComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.OnGenerateCodeAction, comp);
        if (preComp != null) {
            ////ConfigDataEntity._OnGenerateCodeActionComponentPool.add(preComp);
        }
        return this;
    }

    public removeOnGenerateCodeAction ()
    {
        var comp = this.onGenerateCodeAction;
        this.removeComponent(ConfigDataCompIds.OnGenerateCodeAction);
        ////ConfigDataEntity._OnGenerateCodeActionComponentPool.add(comp);
        return this
    }
    static _OnGenerateHeadDataActionComponentPool = new Ecs.Bag();
    public hasOnGenerateHeadDataAction()
    {
      return this.hasComponent(ConfigDataCompIds.OnGenerateHeadDataAction)
    }

    public addOnGenerateHeadDataAction (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._OnGenerateHeadDataActionComponentPool.size() > 0 ? ConfigDataEntity._OnGenerateHeadDataActionComponentPool.removeLast() : new ConfigDataComponents.OnGenerateHeadDataActionComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceOnGenerateHeadDataAction (value)
    {
        var preComp = this.hasOnGenerateHeadDataAction ? this.onGenerateHeadDataAction : null;
        var comp : any = ConfigDataEntity._OnGenerateHeadDataActionComponentPool.size() > 0 ? ConfigDataEntity._OnGenerateHeadDataActionComponentPool.removeLast() : new ConfigDataComponents.OnGenerateHeadDataActionComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.OnGenerateHeadDataAction, comp);
        if (preComp != null) {
            ////ConfigDataEntity._OnGenerateHeadDataActionComponentPool.add(preComp);
        }
        return this;
    }

    public removeOnGenerateHeadDataAction ()
    {
        var comp = this.onGenerateHeadDataAction;
        this.removeComponent(ConfigDataCompIds.OnGenerateHeadDataAction);
        ////ConfigDataEntity._OnGenerateHeadDataActionComponentPool.add(comp);
        return this
    }
    static _OutPathComponentPool = new Ecs.Bag();
    public hasOutPath()
    {
      return this.hasComponent(ConfigDataCompIds.OutPath)
    }

    public addOutPath (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._OutPathComponentPool.size() > 0 ? ConfigDataEntity._OutPathComponentPool.removeLast() : new ConfigDataComponents.OutPathComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceOutPath (value)
    {
        var preComp = this.hasOutPath ? this.outPath : null;
        var comp : any = ConfigDataEntity._OutPathComponentPool.size() > 0 ? ConfigDataEntity._OutPathComponentPool.removeLast() : new ConfigDataComponents.OutPathComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.OutPath, comp);
        if (preComp != null) {
            ////ConfigDataEntity._OutPathComponentPool.add(preComp);
        }
        return this;
    }

    public removeOutPath ()
    {
        var comp = this.outPath;
        this.removeComponent(ConfigDataCompIds.OutPath);
        ////ConfigDataEntity._OutPathComponentPool.add(comp);
        return this
    }
    static _OutPutComponentPool = new Ecs.Bag();
    public hasOutPut()
    {
      return this.hasComponent(ConfigDataCompIds.OutPut)
    }

    public addOutPut (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._OutPutComponentPool.size() > 0 ? ConfigDataEntity._OutPutComponentPool.removeLast() : new ConfigDataComponents.OutPutComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceOutPut (value)
    {
        var preComp = this.hasOutPut ? this.outPut : null;
        var comp : any = ConfigDataEntity._OutPutComponentPool.size() > 0 ? ConfigDataEntity._OutPutComponentPool.removeLast() : new ConfigDataComponents.OutPutComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.OutPut, comp);
        if (preComp != null) {
            ////ConfigDataEntity._OutPutComponentPool.add(preComp);
        }
        return this;
    }

    public removeOutPut ()
    {
        var comp = this.outPut;
        this.removeComponent(ConfigDataCompIds.OutPut);
        ////ConfigDataEntity._OutPutComponentPool.add(comp);
        return this
    }
    static _ParseAttrComponentPool = new Ecs.Bag();
    public hasParseAttr()
    {
      return this.hasComponent(ConfigDataCompIds.ParseAttr)
    }

    public addParseAttr (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseAttrComponentPool.size() > 0 ? ConfigDataEntity._ParseAttrComponentPool.removeLast() : new ConfigDataComponents.ParseAttrComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParseAttr (value)
    {
        var preComp = this.hasParseAttr ? this.parseAttr : null;
        var comp : any = ConfigDataEntity._ParseAttrComponentPool.size() > 0 ? ConfigDataEntity._ParseAttrComponentPool.removeLast() : new ConfigDataComponents.ParseAttrComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ParseAttr, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseAttrComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseAttr ()
    {
        var comp = this.parseAttr;
        this.removeComponent(ConfigDataCompIds.ParseAttr);
        ////ConfigDataEntity._ParseAttrComponentPool.add(comp);
        return this
    }
    static _ParseConfigComponentPool = new Ecs.Bag();
    public hasParseConfig()
    {
      return this.hasComponent(ConfigDataCompIds.ParseConfig)
    }

    public addParseConfig (sheetName, dataStartRow, NotNull) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseConfigComponentPool.size() > 0 ? ConfigDataEntity._ParseConfigComponentPool.removeLast() : new ConfigDataComponents.ParseConfigComponent();
        comp.sheetName = sheetName, comp.dataStartRow = dataStartRow, comp.NotNull = NotNull
        this.addComponent(comp);
        return this
    }

    public replaceParseConfig (sheetName, dataStartRow, NotNull)
    {
        var preComp = this.hasParseConfig ? this.parseConfig : null;
        var comp : any = ConfigDataEntity._ParseConfigComponentPool.size() > 0 ? ConfigDataEntity._ParseConfigComponentPool.removeLast() : new ConfigDataComponents.ParseConfigComponent();
        comp.sheetName = sheetName, comp.dataStartRow = dataStartRow, comp.NotNull = NotNull
        this.replaceComponent(ConfigDataCompIds.ParseConfig, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseConfigComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseConfig ()
    {
        var comp = this.parseConfig;
        this.removeComponent(ConfigDataCompIds.ParseConfig);
        ////ConfigDataEntity._ParseConfigComponentPool.add(comp);
        return this
    }
    static _ParseHeadDataComponentPool = new Ecs.Bag();
    public hasParseHeadData()
    {
      return this.hasComponent(ConfigDataCompIds.ParseHeadData)
    }

    public addParseHeadData (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseHeadDataComponentPool.size() > 0 ? ConfigDataEntity._ParseHeadDataComponentPool.removeLast() : new ConfigDataComponents.ParseHeadDataComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParseHeadData (value)
    {
        var preComp = this.hasParseHeadData ? this.parseHeadData : null;
        var comp : any = ConfigDataEntity._ParseHeadDataComponentPool.size() > 0 ? ConfigDataEntity._ParseHeadDataComponentPool.removeLast() : new ConfigDataComponents.ParseHeadDataComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ParseHeadData, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseHeadDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseHeadData ()
    {
        var comp = this.parseHeadData;
        this.removeComponent(ConfigDataCompIds.ParseHeadData);
        ////ConfigDataEntity._ParseHeadDataComponentPool.add(comp);
        return this
    }
    static _ParseTagComponentPool = new Ecs.Bag();
    public hasParseTag()
    {
      return this.hasComponent(ConfigDataCompIds.ParseTag)
    }

    public addParseTag (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseTagComponentPool.size() > 0 ? ConfigDataEntity._ParseTagComponentPool.removeLast() : new ConfigDataComponents.ParseTagComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParseTag (value)
    {
        var preComp = this.hasParseTag ? this.parseTag : null;
        var comp : any = ConfigDataEntity._ParseTagComponentPool.size() > 0 ? ConfigDataEntity._ParseTagComponentPool.removeLast() : new ConfigDataComponents.ParseTagComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ParseTag, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseTagComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseTag ()
    {
        var comp = this.parseTag;
        this.removeComponent(ConfigDataCompIds.ParseTag);
        ////ConfigDataEntity._ParseTagComponentPool.add(comp);
        return this
    }
    static _ParseTag2ValueListComponentPool = new Ecs.Bag();
    public hasParseTag2ValueList()
    {
      return this.hasComponent(ConfigDataCompIds.ParseTag2ValueList)
    }

    public addParseTag2ValueList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseTag2ValueListComponentPool.size() > 0 ? ConfigDataEntity._ParseTag2ValueListComponentPool.removeLast() : new ConfigDataComponents.ParseTag2ValueListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParseTag2ValueList (value)
    {
        var preComp = this.hasParseTag2ValueList ? this.parseTag2ValueList : null;
        var comp : any = ConfigDataEntity._ParseTag2ValueListComponentPool.size() > 0 ? ConfigDataEntity._ParseTag2ValueListComponentPool.removeLast() : new ConfigDataComponents.ParseTag2ValueListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ParseTag2ValueList, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseTag2ValueListComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseTag2ValueList ()
    {
        var comp = this.parseTag2ValueList;
        this.removeComponent(ConfigDataCompIds.ParseTag2ValueList);
        ////ConfigDataEntity._ParseTag2ValueListComponentPool.add(comp);
        return this
    }
    static _ParseTypeComponentPool = new Ecs.Bag();
    public hasParseType()
    {
      return this.hasComponent(ConfigDataCompIds.ParseType)
    }

    public addParseType (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParseTypeComponentPool.size() > 0 ? ConfigDataEntity._ParseTypeComponentPool.removeLast() : new ConfigDataComponents.ParseTypeComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParseType (value)
    {
        var preComp = this.hasParseType ? this.parseType : null;
        var comp : any = ConfigDataEntity._ParseTypeComponentPool.size() > 0 ? ConfigDataEntity._ParseTypeComponentPool.removeLast() : new ConfigDataComponents.ParseTypeComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ParseType, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParseTypeComponentPool.add(preComp);
        }
        return this;
    }

    public removeParseType ()
    {
        var comp = this.parseType;
        this.removeComponent(ConfigDataCompIds.ParseType);
        ////ConfigDataEntity._ParseTypeComponentPool.add(comp);
        return this
    }
    static _ParserComponentPool = new Ecs.Bag();
    public hasParser()
    {
      return this.hasComponent(ConfigDataCompIds.Parser)
    }

    public addParser (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ParserComponentPool.size() > 0 ? ConfigDataEntity._ParserComponentPool.removeLast() : new ConfigDataComponents.ParserComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceParser (value)
    {
        var preComp = this.hasParser ? this.parser : null;
        var comp : any = ConfigDataEntity._ParserComponentPool.size() > 0 ? ConfigDataEntity._ParserComponentPool.removeLast() : new ConfigDataComponents.ParserComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Parser, comp);
        if (preComp != null) {
            ////ConfigDataEntity._ParserComponentPool.add(preComp);
        }
        return this;
    }

    public removeParser ()
    {
        var comp = this.parser;
        this.removeComponent(ConfigDataCompIds.Parser);
        //ConfigDataEntity._ParserComponentPool.add(comp);
        return this
    }
    static _PathTypeComponentPool = new Ecs.Bag();
    public hasPathType()
    {
      return this.hasComponent(ConfigDataCompIds.PathType)
    }

    public addPathType (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._PathTypeComponentPool.size() > 0 ? ConfigDataEntity._PathTypeComponentPool.removeLast() : new ConfigDataComponents.PathTypeComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replacePathType (value)
    {
        var preComp = this.hasPathType ? this.pathType : null;
        var comp : any = ConfigDataEntity._PathTypeComponentPool.size() > 0 ? ConfigDataEntity._PathTypeComponentPool.removeLast() : new ConfigDataComponents.PathTypeComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.PathType, comp);
        if (preComp != null) {
            //ConfigDataEntity._PathTypeComponentPool.add(preComp);
        }
        return this;
    }

    public removePathType ()
    {
        var comp = this.pathType;
        this.removeComponent(ConfigDataCompIds.PathType);
        //ConfigDataEntity._PathTypeComponentPool.add(comp);
        return this
    }
    static _PlatformComponentPool = new Ecs.Bag();
    public hasPlatform()
    {
      return this.hasComponent(ConfigDataCompIds.Platform)
    }

    public addPlatform (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._PlatformComponentPool.size() > 0 ? ConfigDataEntity._PlatformComponentPool.removeLast() : new ConfigDataComponents.PlatformComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replacePlatform (value)
    {
        var preComp = this.hasPlatform ? this.platform : null;
        var comp : any = ConfigDataEntity._PlatformComponentPool.size() > 0 ? ConfigDataEntity._PlatformComponentPool.removeLast() : new ConfigDataComponents.PlatformComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Platform, comp);
        if (preComp != null) {
            //ConfigDataEntity._PlatformComponentPool.add(preComp);
        }
        return this;
    }

    public removePlatform ()
    {
        var comp = this.platform;
        this.removeComponent(ConfigDataCompIds.Platform);
        //ConfigDataEntity._PlatformComponentPool.add(comp);
        return this
    }
    static _PreloadDataComponentPool = new Ecs.Bag();
    public hasPreloadData()
    {
      return this.hasComponent(ConfigDataCompIds.PreloadData)
    }

    public addPreloadData (dataList, dataDict) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._PreloadDataComponentPool.size() > 0 ? ConfigDataEntity._PreloadDataComponentPool.removeLast() : new ConfigDataComponents.PreloadDataComponent();
        comp.dataList = dataList, comp.dataDict = dataDict
        this.addComponent(comp);
        return this
    }

    public replacePreloadData (dataList, dataDict)
    {
        var preComp = this.hasPreloadData ? this.preloadData : null;
        var comp : any = ConfigDataEntity._PreloadDataComponentPool.size() > 0 ? ConfigDataEntity._PreloadDataComponentPool.removeLast() : new ConfigDataComponents.PreloadDataComponent();
        comp.dataList = dataList, comp.dataDict = dataDict
        this.replaceComponent(ConfigDataCompIds.PreloadData, comp);
        if (preComp != null) {
            //ConfigDataEntity._PreloadDataComponentPool.add(preComp);
        }
        return this;
    }

    public removePreloadData ()
    {
        var comp = this.preloadData;
        this.removeComponent(ConfigDataCompIds.PreloadData);
        //ConfigDataEntity._PreloadDataComponentPool.add(comp);
        return this
    }
    static _PrimaryKeyDataComponentPool = new Ecs.Bag();
    public hasPrimaryKeyData()
    {
      return this.hasComponent(ConfigDataCompIds.PrimaryKeyData)
    }

    public addPrimaryKeyData (keyList, valueList, nameList, typeList, lenDict) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._PrimaryKeyDataComponentPool.size() > 0 ? ConfigDataEntity._PrimaryKeyDataComponentPool.removeLast() : new ConfigDataComponents.PrimaryKeyDataComponent();
        comp.keyList = keyList, comp.valueList = valueList, comp.nameList = nameList, comp.typeList = typeList, comp.lenDict = lenDict
        this.addComponent(comp);
        return this
    }

    public replacePrimaryKeyData (keyList, valueList, nameList, typeList, lenDict)
    {
        var preComp = this.hasPrimaryKeyData ? this.primaryKeyData : null;
        var comp : any = ConfigDataEntity._PrimaryKeyDataComponentPool.size() > 0 ? ConfigDataEntity._PrimaryKeyDataComponentPool.removeLast() : new ConfigDataComponents.PrimaryKeyDataComponent();
        comp.keyList = keyList, comp.valueList = valueList, comp.nameList = nameList, comp.typeList = typeList, comp.lenDict = lenDict
        this.replaceComponent(ConfigDataCompIds.PrimaryKeyData, comp);
        if (preComp != null) {
            //ConfigDataEntity._PrimaryKeyDataComponentPool.add(preComp);
        }
        return this;
    }

    public removePrimaryKeyData ()
    {
        var comp = this.primaryKeyData;
        this.removeComponent(ConfigDataCompIds.PrimaryKeyData);
        //ConfigDataEntity._PrimaryKeyDataComponentPool.add(comp);
        return this
    }
    static _PriorityComponentPool = new Ecs.Bag();
    public hasPriority()
    {
      return this.hasComponent(ConfigDataCompIds.Priority)
    }

    public addPriority (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._PriorityComponentPool.size() > 0 ? ConfigDataEntity._PriorityComponentPool.removeLast() : new ConfigDataComponents.PriorityComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replacePriority (value)
    {
        var preComp = this.hasPriority ? this.priority : null;
        var comp : any = ConfigDataEntity._PriorityComponentPool.size() > 0 ? ConfigDataEntity._PriorityComponentPool.removeLast() : new ConfigDataComponents.PriorityComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Priority, comp);
        if (preComp != null) {
            //ConfigDataEntity._PriorityComponentPool.add(preComp);
        }
        return this;
    }

    public removePriority ()
    {
        var comp = this.priority;
        this.removeComponent(ConfigDataCompIds.Priority);
        //ConfigDataEntity._PriorityComponentPool.add(comp);
        return this
    }
    static _ReallySheetNameComponentPool = new Ecs.Bag();
    public hasReallySheetName()
    {
      return this.hasComponent(ConfigDataCompIds.ReallySheetName)
    }

    public addReallySheetName (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ReallySheetNameComponentPool.size() > 0 ? ConfigDataEntity._ReallySheetNameComponentPool.removeLast() : new ConfigDataComponents.ReallySheetNameComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceReallySheetName (value)
    {
        var preComp = this.hasReallySheetName ? this.reallySheetName : null;
        var comp : any = ConfigDataEntity._ReallySheetNameComponentPool.size() > 0 ? ConfigDataEntity._ReallySheetNameComponentPool.removeLast() : new ConfigDataComponents.ReallySheetNameComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ReallySheetName, comp);
        if (preComp != null) {
            //ConfigDataEntity._ReallySheetNameComponentPool.add(preComp);
        }
        return this;
    }

    public removeReallySheetName ()
    {
        var comp = this.reallySheetName;
        this.removeComponent(ConfigDataCompIds.ReallySheetName);
        //ConfigDataEntity._ReallySheetNameComponentPool.add(comp);
        return this
    }
    static _RefFileListComponentPool = new Ecs.Bag();
    public hasRefFileList()
    {
      return this.hasComponent(ConfigDataCompIds.RefFileList)
    }

    public addRefFileList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RefFileListComponentPool.size() > 0 ? ConfigDataEntity._RefFileListComponentPool.removeLast() : new ConfigDataComponents.RefFileListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRefFileList (value)
    {
        var preComp = this.hasRefFileList ? this.refFileList : null;
        var comp : any = ConfigDataEntity._RefFileListComponentPool.size() > 0 ? ConfigDataEntity._RefFileListComponentPool.removeLast() : new ConfigDataComponents.RefFileListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RefFileList, comp);
        if (preComp != null) {
            //ConfigDataEntity._RefFileListComponentPool.add(preComp);
        }
        return this;
    }

    public removeRefFileList ()
    {
        var comp = this.refFileList;
        this.removeComponent(ConfigDataCompIds.RefFileList);
        //ConfigDataEntity._RefFileListComponentPool.add(comp);
        return this
    }
    static _RootEntityComponentPool = new Ecs.Bag();
    public hasRootEntity()
    {
      return this.hasComponent(ConfigDataCompIds.RootEntity)
    }

    public addRootEntity (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RootEntityComponentPool.size() > 0 ? ConfigDataEntity._RootEntityComponentPool.removeLast() : new ConfigDataComponents.RootEntityComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRootEntity (value)
    {
        var preComp = this.hasRootEntity ? this.rootEntity : null;
        var comp : any = ConfigDataEntity._RootEntityComponentPool.size() > 0 ? ConfigDataEntity._RootEntityComponentPool.removeLast() : new ConfigDataComponents.RootEntityComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RootEntity, comp);
        if (preComp != null) {
            //ConfigDataEntity._RootEntityComponentPool.add(preComp);
        }
        return this;
    }

    public removeRootEntity ()
    {
        var comp = this.rootEntity;
        this.removeComponent(ConfigDataCompIds.RootEntity);
        //ConfigDataEntity._RootEntityComponentPool.add(comp);
        return this
    }
    static _RootParserComponentPool = new Ecs.Bag();
    public hasRootParser()
    {
      return this.hasComponent(ConfigDataCompIds.RootParser)
    }

    public addRootParser (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RootParserComponentPool.size() > 0 ? ConfigDataEntity._RootParserComponentPool.removeLast() : new ConfigDataComponents.RootParserComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRootParser (value)
    {
        var preComp = this.hasRootParser ? this.rootParser : null;
        var comp : any = ConfigDataEntity._RootParserComponentPool.size() > 0 ? ConfigDataEntity._RootParserComponentPool.removeLast() : new ConfigDataComponents.RootParserComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RootParser, comp);
        if (preComp != null) {
            //ConfigDataEntity._RootParserComponentPool.add(preComp);
        }
        return this;
    }

    public removeRootParser ()
    {
        var comp = this.rootParser;
        this.removeComponent(ConfigDataCompIds.RootParser);
        //ConfigDataEntity._RootParserComponentPool.add(comp);
        return this
    }
    static _RowCellListComponentPool = new Ecs.Bag();
    public hasRowCellList()
    {
      return this.hasComponent(ConfigDataCompIds.RowCellList)
    }

    public addRowCellList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RowCellListComponentPool.size() > 0 ? ConfigDataEntity._RowCellListComponentPool.removeLast() : new ConfigDataComponents.RowCellListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRowCellList (value)
    {
        var preComp = this.hasRowCellList ? this.rowCellList : null;
        var comp : any = ConfigDataEntity._RowCellListComponentPool.size() > 0 ? ConfigDataEntity._RowCellListComponentPool.removeLast() : new ConfigDataComponents.RowCellListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RowCellList, comp);
        if (preComp != null) {
            //ConfigDataEntity._RowCellListComponentPool.add(preComp);
        }
        return this;
    }

    public removeRowCellList ()
    {
        var comp = this.rowCellList;
        this.removeComponent(ConfigDataCompIds.RowCellList);
        //ConfigDataEntity._RowCellListComponentPool.add(comp);
        return this
    }
    static _RowDataIndexComponentPool = new Ecs.Bag();
    public hasRowDataIndex()
    {
      return this.hasComponent(ConfigDataCompIds.RowDataIndex)
    }

    public addRowDataIndex (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RowDataIndexComponentPool.size() > 0 ? ConfigDataEntity._RowDataIndexComponentPool.removeLast() : new ConfigDataComponents.RowDataIndexComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRowDataIndex (value)
    {
        var preComp = this.hasRowDataIndex ? this.rowDataIndex : null;
        var comp : any = ConfigDataEntity._RowDataIndexComponentPool.size() > 0 ? ConfigDataEntity._RowDataIndexComponentPool.removeLast() : new ConfigDataComponents.RowDataIndexComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RowDataIndex, comp);
        if (preComp != null) {
            //ConfigDataEntity._RowDataIndexComponentPool.add(preComp);
        }
        return this;
    }

    public removeRowDataIndex ()
    {
        var comp = this.rowDataIndex;
        this.removeComponent(ConfigDataCompIds.RowDataIndex);
        //ConfigDataEntity._RowDataIndexComponentPool.add(comp);
        return this
    }
    static _RowOriginalListComponentPool = new Ecs.Bag();
    public hasRowOriginalList()
    {
      return this.hasComponent(ConfigDataCompIds.RowOriginalList)
    }

    public addRowOriginalList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RowOriginalListComponentPool.size() > 0 ? ConfigDataEntity._RowOriginalListComponentPool.removeLast() : new ConfigDataComponents.RowOriginalListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRowOriginalList (value)
    {
        var preComp = this.hasRowOriginalList ? this.rowOriginalList : null;
        var comp : any = ConfigDataEntity._RowOriginalListComponentPool.size() > 0 ? ConfigDataEntity._RowOriginalListComponentPool.removeLast() : new ConfigDataComponents.RowOriginalListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RowOriginalList, comp);
        if (preComp != null) {
            //ConfigDataEntity._RowOriginalListComponentPool.add(preComp);
        }
        return this;
    }

    public removeRowOriginalList ()
    {
        var comp = this.rowOriginalList;
        this.removeComponent(ConfigDataCompIds.RowOriginalList);
        //ConfigDataEntity._RowOriginalListComponentPool.add(comp);
        return this
    }
    static _RowValueListComponentPool = new Ecs.Bag();
    public hasRowValueList()
    {
      return this.hasComponent(ConfigDataCompIds.RowValueList)
    }

    public addRowValueList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._RowValueListComponentPool.size() > 0 ? ConfigDataEntity._RowValueListComponentPool.removeLast() : new ConfigDataComponents.RowValueListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceRowValueList (value)
    {
        var preComp = this.hasRowValueList ? this.rowValueList : null;
        var comp : any = ConfigDataEntity._RowValueListComponentPool.size() > 0 ? ConfigDataEntity._RowValueListComponentPool.removeLast() : new ConfigDataComponents.RowValueListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.RowValueList, comp);
        if (preComp != null) {
            //ConfigDataEntity._RowValueListComponentPool.add(preComp);
        }
        return this;
    }

    public removeRowValueList ()
    {
        var comp = this.rowValueList;
        this.removeComponent(ConfigDataCompIds.RowValueList);
        //ConfigDataEntity._RowValueListComponentPool.add(comp);
        return this
    }
    static _SheetDataComponentPool = new Ecs.Bag();
    public hasSheetData()
    {
      return this.hasComponent(ConfigDataCompIds.SheetData)
    }

    public addSheetData (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._SheetDataComponentPool.size() > 0 ? ConfigDataEntity._SheetDataComponentPool.removeLast() : new ConfigDataComponents.SheetDataComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceSheetData (value)
    {
        var preComp = this.hasSheetData ? this.sheetData : null;
        var comp : any = ConfigDataEntity._SheetDataComponentPool.size() > 0 ? ConfigDataEntity._SheetDataComponentPool.removeLast() : new ConfigDataComponents.SheetDataComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.SheetData, comp);
        if (preComp != null) {
            //ConfigDataEntity._SheetDataComponentPool.add(preComp);
        }
        return this;
    }

    public removeSheetData ()
    {
        var comp = this.sheetData;
        this.removeComponent(ConfigDataCompIds.SheetData);
        //ConfigDataEntity._SheetDataComponentPool.add(comp);
        return this
    }
    static _SheetNameComponentPool = new Ecs.Bag();
    public hasSheetName()
    {
      return this.hasComponent(ConfigDataCompIds.SheetName)
    }

    public addSheetName (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._SheetNameComponentPool.size() > 0 ? ConfigDataEntity._SheetNameComponentPool.removeLast() : new ConfigDataComponents.SheetNameComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceSheetName (value)
    {
        var preComp = this.hasSheetName ? this.sheetName : null;
        var comp : any = ConfigDataEntity._SheetNameComponentPool.size() > 0 ? ConfigDataEntity._SheetNameComponentPool.removeLast() : new ConfigDataComponents.SheetNameComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.SheetName, comp);
        if (preComp != null) {
            //ConfigDataEntity._SheetNameComponentPool.add(preComp);
        }
        return this;
    }

    public removeSheetName ()
    {
        var comp = this.sheetName;
        this.removeComponent(ConfigDataCompIds.SheetName);
        //ConfigDataEntity._SheetNameComponentPool.add(comp);
        return this
    }
    static _SheetRowsComponentPool = new Ecs.Bag();
    public hasSheetRows()
    {
      return this.hasComponent(ConfigDataCompIds.SheetRows)
    }

    public addSheetRows (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._SheetRowsComponentPool.size() > 0 ? ConfigDataEntity._SheetRowsComponentPool.removeLast() : new ConfigDataComponents.SheetRowsComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceSheetRows (value)
    {
        var preComp = this.hasSheetRows ? this.sheetRows : null;
        var comp : any = ConfigDataEntity._SheetRowsComponentPool.size() > 0 ? ConfigDataEntity._SheetRowsComponentPool.removeLast() : new ConfigDataComponents.SheetRowsComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.SheetRows, comp);
        if (preComp != null) {
            //ConfigDataEntity._SheetRowsComponentPool.add(preComp);
        }
        return this;
    }

    public removeSheetRows ()
    {
        var comp = this.sheetRows;
        this.removeComponent(ConfigDataCompIds.SheetRows);
        //ConfigDataEntity._SheetRowsComponentPool.add(comp);
        return this
    }
    static _SourceComponentPool = new Ecs.Bag();
    public hasSource()
    {
      return this.hasComponent(ConfigDataCompIds.Source)
    }

    public addSource (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._SourceComponentPool.size() > 0 ? ConfigDataEntity._SourceComponentPool.removeLast() : new ConfigDataComponents.SourceComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceSource (value)
    {
        var preComp = this.hasSource ? this.source : null;
        var comp : any = ConfigDataEntity._SourceComponentPool.size() > 0 ? ConfigDataEntity._SourceComponentPool.removeLast() : new ConfigDataComponents.SourceComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Source, comp);
        if (preComp != null) {
            //ConfigDataEntity._SourceComponentPool.add(preComp);
        }
        return this;
    }

    public removeSource ()
    {
        var comp = this.source;
        this.removeComponent(ConfigDataCompIds.Source);
        //ConfigDataEntity._SourceComponentPool.add(comp);
        return this
    }
    static _SplitComponentPool = new Ecs.Bag();
    public hasSplit() : boolean
    {
        return this.hasComponent(ConfigDataCompIds.Split)
    }

    public setSplit(v) : ConfigDataEntity
    {
        if (this.hasSplit() != v)
        {
            if (v)
            {
                var comp : any = ConfigDataEntity._SplitComponentPool.size() > 0 ? ConfigDataEntity._SplitComponentPool.removeLast() : new ConfigDataComponents.SplitComponent();
                this.addComponent(comp)
            }
            else
            {
                this.removeComponent(ConfigDataCompIds.Split)
            }
        }
        return this
    }
    static _SuffixComponentPool = new Ecs.Bag();
    public hasSuffix()
    {
      return this.hasComponent(ConfigDataCompIds.Suffix)
    }

    public addSuffix (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._SuffixComponentPool.size() > 0 ? ConfigDataEntity._SuffixComponentPool.removeLast() : new ConfigDataComponents.SuffixComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceSuffix (value)
    {
        var preComp = this.hasSuffix ? this.suffix : null;
        var comp : any = ConfigDataEntity._SuffixComponentPool.size() > 0 ? ConfigDataEntity._SuffixComponentPool.removeLast() : new ConfigDataComponents.SuffixComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Suffix, comp);
        if (preComp != null) {
            //ConfigDataEntity._SuffixComponentPool.add(preComp);
        }
        return this;
    }

    public removeSuffix ()
    {
        var comp = this.suffix;
        this.removeComponent(ConfigDataCompIds.Suffix);
        //ConfigDataEntity._SuffixComponentPool.add(comp);
        return this
    }
    static _TagComponentPool = new Ecs.Bag();
    public hasTag()
    {
      return this.hasComponent(ConfigDataCompIds.Tag)
    }

    public addTag (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._TagComponentPool.size() > 0 ? ConfigDataEntity._TagComponentPool.removeLast() : new ConfigDataComponents.TagComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceTag (value)
    {
        var preComp = this.hasTag ? this.tag : null;
        var comp : any = ConfigDataEntity._TagComponentPool.size() > 0 ? ConfigDataEntity._TagComponentPool.removeLast() : new ConfigDataComponents.TagComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Tag, comp);
        if (preComp != null) {
            //ConfigDataEntity._TagComponentPool.add(preComp);
        }
        return this;
    }

    public removeTag ()
    {
        var comp = this.tag;
        this.removeComponent(ConfigDataCompIds.Tag);
        //ConfigDataEntity._TagComponentPool.add(comp);
        return this
    }
    static _TagsComponentPool = new Ecs.Bag();
    public hasTags()
    {
      return this.hasComponent(ConfigDataCompIds.Tags)
    }

    public addTags (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._TagsComponentPool.size() > 0 ? ConfigDataEntity._TagsComponentPool.removeLast() : new ConfigDataComponents.TagsComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceTags (value)
    {
        var preComp = this.hasTags ? this.tags : null;
        var comp : any = ConfigDataEntity._TagsComponentPool.size() > 0 ? ConfigDataEntity._TagsComponentPool.removeLast() : new ConfigDataComponents.TagsComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.Tags, comp);
        if (preComp != null) {
            //ConfigDataEntity._TagsComponentPool.add(preComp);
        }
        return this;
    }

    public removeTags ()
    {
        var comp = this.tags;
        this.removeComponent(ConfigDataCompIds.Tags);
        //ConfigDataEntity._TagsComponentPool.add(comp);
        return this
    }
    static _ValueCheckerListComponentPool = new Ecs.Bag();
    public hasValueCheckerList()
    {
      return this.hasComponent(ConfigDataCompIds.ValueCheckerList)
    }

    public addValueCheckerList (value) : ConfigDataEntity
    {
        var comp : any = ConfigDataEntity._ValueCheckerListComponentPool.size() > 0 ? ConfigDataEntity._ValueCheckerListComponentPool.removeLast() : new ConfigDataComponents.ValueCheckerListComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }

    public replaceValueCheckerList (value)
    {
        var preComp = this.hasValueCheckerList ? this.valueCheckerList : null;
        var comp : any = ConfigDataEntity._ValueCheckerListComponentPool.size() > 0 ? ConfigDataEntity._ValueCheckerListComponentPool.removeLast() : new ConfigDataComponents.ValueCheckerListComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.ValueCheckerList, comp);
        if (preComp != null) {
            //ConfigDataEntity._ValueCheckerListComponentPool.add(preComp);
        }
        return this;
    }

    public removeValueCheckerList ()
    {
        var comp = this.valueCheckerList;
        this.removeComponent(ConfigDataCompIds.ValueCheckerList);
        //ConfigDataEntity._ValueCheckerListComponentPool.add(comp);
        return this
    }

    public addHeadInfo (value) : ConfigDataEntity
    {
        var comp : any = new ConfigDataComponents.HeadInfoComponent();
        comp.value = value
        this.addComponent(comp);
        return this
    }


    public replaceHeadInfo (value)
    {
        var comp : any = new ConfigDataComponents.HeadInfoComponent();
        comp.value = value
        this.replaceComponent(ConfigDataCompIds.HeadInfo, comp);
        // if (preComp != null) {
            //ConfigDataEntity._ValueCheckerListComponentPool.add(preComp);
        // }
        return this;
    }

    public removeHeadInfo()
    {
        this.removeComponent(ConfigDataCompIds.HeadInfo);
        //ConfigDataEntity._ValueCheckerListComponentPool.add(comp);
        return this
    }
}
